package controllers

import (
	// "fmt"
	"github.com/astaxie/beego"
)

type UserController struct {
	beego.Controller
}

func (this *UserController) Get() {
	this.TplName = "login.tpl"
}

func (this *UserController) Post() {

	uname := this.Input().Get("uname")
	this.Ctx.WriteString("提交的用户名：" + uname)
	return
}
